package org.nico.cb.service;

import java.util.List;
import java.util.Map;

import org.nico.cb.domain.article.Article;
import org.nico.db.page.DBPage;

/** 
 * 
 * @author nico
 * @version createArticleime：2018年4月15日 上午12:38:39
 */

public interface ArticleService {

	Article get(Object id);
	
	List<Article> get(Map<String, Object> criterias, DBPage page);
	
	long update(Article entity);
	
	Article insert(Article entity);
	
	boolean delete(Article entity);
	
	boolean deleteById(Object id);
	
	long count(Map<String, Object> criterias);
	
}
